package com.ruoyi.kjy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.mp.domain.CommonEntity;
import com.ruoyi.common.mp.handle.ListToStringHandle;
import lombok.Data;
import org.apache.ibatis.type.EnumTypeHandler;

import java.time.LocalDate;
import java.util.List;

/**
 * @Description:
 * @Author: Hi，Wang
 * @Date: 10/25,0025 20:49
 */

@Data
@TableName(autoResultMap = true)
public class TalentPerson extends CommonEntity {




    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    // 头像
    private String avatar;



    // 人才类别 0 教师 1 专家
    private Integer category;
    // 从事领域
    @TableField(typeHandler = ListToStringHandle.class)
    private List<String> field;
    // 擅长能力
    @TableField(typeHandler = ListToStringHandle.class)
    private List<String> ability;
    // 省
    private String province;
    // 市
    private String city;
    // 毕业学校
    private String school;
    // 入职时间
    private LocalDate hiredate;
    // 学历
    private String education;
    // 简介
    private String introduction;

    private String phone;

    // 状态  // 0 待审核 1 审核通过 2 审核不通过
    private Integer status;



}
